<div class="add_new_article"><a href="/st_add_video">Thêm Video</a></div>
<article class="module width_3_quarter">
    <header>
    </header>

    <div class="tab_container">
        <div id="table_content" class="tab_content" style="display: block;">
            <table class="tablesorter" cellspacing="0"> 
                <thead> 
                    <tr> 
                        <th style="width:5%;" class="header">STT</th> 
                        <th style="width:30%;" class="header">Tiêu đề</th> 
                        <th style="width:30%;" class="header">Link Video</th> 
                        <th style="width:15%;" class="header">Lượt xem</th> 
                        <th style="width:15%;" class="header">Ngày đăng</th>
                        <th style="width:5%;" class="header">Xóa</th>
                    </tr> 
                </thead> 
                <tbody> 
                    <?php
                    $size = count($list_video);
                    for($i=0; $i<$size; $i++){
                        echo "<tr>"
                            . "<td style='text-align:center;'>" . (($pageIndex - 1)*10 + $i + 1) . "</td>"
                            . "<td>" . $list_video[$i]->title . "</td>"
                            . "<td style='text-align:center;'><a href='https://www.youtube.com/watch?v=" . $list_video[$i]->link . "' target='_blank'>" . $list_video[$i]->link . "</a></td>"
                            . "<td style='text-align:center;'>" . $list_video[$i]->count_view . "</td>"
                            . "<td style='text-align:center;'>" . $list_video[$i]->created_date . "</td>"
                            . "<td style='text-align:center;'><a href=\"javascript:;\" onclick=\"BE.deleteVideo(" . $list_video[$i]->id . ", '" . $list_video[$i]->title . "')\"><img src=\"/static/images/icon/icn_trash.png\" title=\"Xóa\"></a></td></tr>";
                    }
                    ?>
                </tbody> 
            </table>
        </div><!-- end of #tab1 -->
    </div><!-- end of .tab_container -->
</article><!-- end of content manager article -->
<div class="clear"></div>
<p style="text-align: center; margin-top: 25px;">
    <?php echo $paging; ?>
</p>